package share.enum1;

public enum PositionEnum {
    UP(1,"上"),
    LEFT(2,"左"),
    DOWN(3,"下"),
    RIGHT(4,"右");


    private int type;
    private String description;

    // 枚举构造函数（必须是私有的）
    private PositionEnum(int type, String description) {
        this.type = type;
        this.description = description;
    }
    }


